package com.jifeng.br.pjj.bookreader.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jifeng.br.pjj.bookreader.entity.CodeEntity;

import java.awt.image.BufferedImage;

/**
 * @Author PangJunjie
 * @Date 2023/7/11/011
 */
public interface CodeService extends IService<CodeEntity> {
    BufferedImage getKaptcha(String uuid);

    boolean checkKaptcha(String uuid, String code);

    void sendMsg(String phone, String uuid);
}
